package com.demohomework.homeworkdemo.service;

import com.demohomework.homeworkdemo.pojo.Course;

import java.util.List;

public interface CourseService {
    void add(Course course);

    List<Course> list();

    Course findId(Integer id);

    void update(Course course);

    void delete(Integer id);

    List<Course> selectByTeacherId(Integer teacherId);
}
